package com.example.glgk.dto.report;

import com.example.glgk.optionenum.ProcessStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author lxk
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ReportDto {

    private Integer id;

    @ApiModelProperty(value = "项目")
    private String project;

    private String elementId;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "审批状态")
    private ProcessStatus processStatus;

    private String processStatusText;

    @ApiModelProperty(value = "指标值")
    private String indicatorValue;

    private String deptName;

    @ApiModelProperty(value = "同期值")
    private String samePeriodValue;

    @ApiModelProperty(value = "同期全年值")
    private String samePeriodYearValue;

    @ApiModelProperty(value = "说明")
    private String explanation;

    @ApiModelProperty(value = "指标定义")
    private String indexDefine;

    @ApiModelProperty(value = "审批时间")
    private String approvedTime;

    @ApiModelProperty(value = "审批意见")
    private String approvedComment;

    @ApiModelProperty(value = "审批人")
    private String approvedUserId;

    @ApiModelProperty(value = "发起人")
    private String initiateUserId;

    @ApiModelProperty(value = "任务id")
    private int taskId;

    //用于审批操作，true就是审批通过，false就是审批失败
    private Boolean flag;

    @ApiModelProperty(value = "时间")
    private String time;

    @ApiModelProperty(value = "indicator表的id")
    private String indicatorId;

    @ApiModelProperty(value = "计算公式")
    private String formula;

    @ApiModelProperty(value = "项目指标的Id")
    private String ids;

    @ApiModelProperty(value = "是否手填 1：手填 空：非手填")
    private String handFill;

}
